package com.maycur.ctrip.domain;

import com.maycur.ctrip.enumeration.FeeTypeGroupTag;
import com.maycur.ctrip.enumeration.PayType;
import org.apache.commons.lang3.StringUtils;

import java.math.BigDecimal;
import java.util.Date;

public class FeeData {
    private String entCode;

    private String feeCode;

    private BigDecimal feeAmount;

    private String businessName;

    private String feeTypeCode;

    private String userCode;

    private String businessPurpose;

    private Date consumeTime;

    private String consumeLocation;

    private String comments;

    private BigDecimal approvedAmount;

    private String consumeCcy;

    private PayType payMethod;

    private BigDecimal exchangeRate;

    private BigDecimal consumeAmount;

    private BigDecimal sysExchangeRate;

    private String sourceType;

    private String sourceId;

    private String status;

    private FeeTypeGroupTag feeTypeGroupTags;

    private Boolean isValid;

    private String thirdVisibility;

    private String subsidiaryCode;

    private String baseCcy;

    public String getEntCode() {
        return entCode;
    }

    public void setEntCode(String entCode) {
        this.entCode = StringUtils.isEmpty(entCode)? null : entCode.trim();
    }

    public String getFeeCode() {
        return feeCode;
    }

    public void setFeeCode(String feeCode) {
        this.feeCode = StringUtils.isEmpty(feeCode)? null : feeCode.trim();
    }

    public BigDecimal getFeeAmount() {
        return feeAmount;
    }

    public void setFeeAmount(BigDecimal feeAmount) {
        this.feeAmount = feeAmount;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = StringUtils.isEmpty(businessName)? null : businessName.trim();
    }

    public String getFeeTypeCode() {
        return feeTypeCode;
    }

    public void setFeeTypeCode(String feeTypeCode) {
        this.feeTypeCode = StringUtils.isEmpty(feeTypeCode)? null : feeTypeCode.trim();
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = StringUtils.isEmpty(userCode)? null : userCode.trim();
    }

    public String getBusinessPurpose() {
        return businessPurpose;
    }

    public void setBusinessPurpose(String businessPurpose) {
        this.businessPurpose = StringUtils.isEmpty(businessPurpose)? null : businessPurpose.trim();
    }

    public Date getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(Date consumeTime) {
        this.consumeTime = consumeTime;
    }

    public String getConsumeLocation() {
        return consumeLocation;
    }

    public void setConsumeLocation(String consumeLocation) {
        this.consumeLocation = StringUtils.isEmpty(consumeLocation)? null : consumeLocation.trim();
    }


    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = StringUtils.isEmpty(comments)? null : comments.trim();
    }

    public BigDecimal getApprovedAmount() {
        return approvedAmount;
    }

    public void setApprovedAmount(BigDecimal approvedAmount) {
        this.approvedAmount = approvedAmount;
    }

    public String getConsumeCcy() {
        return consumeCcy;
    }

    public void setConsumeCcy(String consumeCcy) {
        this.consumeCcy = StringUtils.isEmpty(consumeCcy)? null : consumeCcy.trim();
    }

    public PayType getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(PayType payMethod) {
        this.payMethod = payMethod;
    }

    public BigDecimal getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(BigDecimal exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public BigDecimal getConsumeAmount() {
        return consumeAmount;
    }

    public void setConsumeAmount(BigDecimal consumeAmount) {
        this.consumeAmount = consumeAmount;
    }

    public BigDecimal getSysExchangeRate() {
        return sysExchangeRate;
    }

    public void setSysExchangeRate(BigDecimal sysExchangeRate) {
        this.sysExchangeRate = sysExchangeRate;
    }


    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = StringUtils.isEmpty(sourceType)? null : sourceType.trim();
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = StringUtils.isEmpty(sourceId)? null : sourceId.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = StringUtils.isEmpty(status)? null : status.trim();;
    }

    public FeeTypeGroupTag getFeeTypeGroupTags() {
        return feeTypeGroupTags;
    }

    public void setFeeTypeGroupTags(FeeTypeGroupTag feeTypeGroupTags) {
        this.feeTypeGroupTags = feeTypeGroupTags;
    }

    public Boolean getValid() {
        return isValid;
    }

    public void setValid(Boolean valid) {
        isValid = valid;
    }

    public String getThirdVisibility() {
        return thirdVisibility;
    }

    public void setThirdVisibility(String thirdVisibility) {
        this.thirdVisibility = StringUtils.isEmpty(thirdVisibility)? null : thirdVisibility.trim();
    }

    public String getSubsidiaryCode() {
        return subsidiaryCode;
    }

    public void setSubsidiaryCode(String subsidiaryCode) {
        this.subsidiaryCode = StringUtils.isEmpty(subsidiaryCode)? null : subsidiaryCode.trim();
    }

    public String getBaseCcy() {
        return baseCcy;
    }

    public void setBaseCcy(String baseCcy) {
        this.baseCcy = StringUtils.isEmpty(baseCcy)? null : baseCcy.trim();
    }
}
